Release 10.1A: OpenEdge Data Management:
Database Administration
Creating after-image areas
You create after-image areas using PROSTRCT and a structure description file. Use PROSTRCT CREATE to create after-image areas when you first define your database, and PROSTRCT ADD to add after-image areas to an existing database.
![]()
To create AI areas when defining your database:
- Create the structure description file for the database. See Chapter 1, "Creating and Deleting Databases," for a complete description of how to create a structure description file.
- Define the data extents.
- Define any BI extents.
- Define any fixed-length AI extents. You must define four tokens in the file description line. Table 7–1 describes each token and value you enter for fixed-length files.
The following example shows a fixed-length after-image extent definition:
- Define any variable-length after-image extents. Only specify the first two tokens: the extent type and pathname. Unlike data or BI extents, you can define more than one variable-length after-image extent for a database.
- Create the empty database structure using the PROSTRCT utility. For more information about the structure description file and PROSTRCT, see Chapter 14, " Maintaining Database Structure."
- Create the initial database contents using the PROCOPY or PROREST utility. For more information about the PROCOPY and PROREST utilities, see Chapter 23, " Other Database Administration Utilities."
![]()
To add AI areas to an existing database:
- Create a structure definition file containing the descriptions of the files you are adding to your database. See Table 7–1 for the tokens used to describe the files.
- Use PROSTRCT ADD to add the new files to your database. For more information about the structure description file and PROSTRCT, see Chapter 14, " Maintaining Database Structure."
- Use PROSTRCT LIST to save your updated database definitions in a structure file.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |